//
//  NSMutableURLRequest+GR.m
//  YCGRICE
//
//  Created by Liu Feng on 2018/7/5.
//  Copyright © 2018年 YeCai. All rights reserved.
//

#import "NSMutableURLRequest+GR.h"
#import <objc/message.h>

static char *ParamerKey = "paramerKey";

@implementation NSMutableURLRequest (GR)

@dynamic paramers;

-(void)setParamers:(NSDictionary *)paramers {
    objc_setAssociatedObject(self, ParamerKey, paramers, OBJC_ASSOCIATION_COPY_NONATOMIC);
}

- (NSDictionary *)paramers {
    return objc_getAssociatedObject(self, ParamerKey);
}

@end
